Struct isotope::ast::ast::Lambda [−][src]
pub struct Lambda { pub param_name: Option<SmolStr>, pub param_ty: Option<Arc<Expr>>, pub result: Arc<Expr>, }
Expand description
A lambda function
Fields
param_name: Option<SmolStr>
The parameter name of this lambda function, if any
param_ty: Option<Arc<Expr>>
The parameter type of this lambda function, if any
result: Arc<Expr>
The result of this lambda function
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Lambda
impl UnwindSafe for Lambda
Blanket Implementations
Mutably borrows from an owned value. Read more
Borrow an optional value of type T
Compare self to key
and return true
if they are equal.